package com.zjgsu.demo.nodeEntity;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Relationship;

import java.util.List;

@NodeEntity(label="Pla")
public class Pla {
    @GraphId
    private Long id;
    private String plaName;
    private String plaLat;
    private String plaLin;
    @Relationship(type = "PlaSyss")
    @JsonProperty("PlaSyss")
    private List<Sys> PlaSyss;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPlaName() {
        return plaName;
    }

    public void setPlaName(String plaName) {
        this.plaName = plaName;
    }

    public String getPlaLat() {
        return plaLat;
    }

    public void setPlaLat(String plaLat) {
        this.plaLat = plaLat;
    }

    public String getPlaLin() {
        return plaLin;
    }

    public void setPlaLin(String plaLin) {
        this.plaLin = plaLin;
    }

    public List<Sys> getPlaSyss() {
        return PlaSyss;
    }

    public void setPlaSyss(List<Sys> plaSyss) {
        PlaSyss = plaSyss;
    }
}
